package com.hb.trade.server.project.evaluation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hb.core.pojo.project.evaluation.dto.EvaluationReviewItemParam;
import com.hb.core.pojo.project.evaluation.entity.EvaluationSummary;
import org.fzzn.core.model.msg.Message;

/**
 * <p>
 * 评审总表 服务类
 * </p>
 *
 * @author zhaojk
 * @since 2022-04-13
 */
public interface EvaluationSummaryService extends IService<EvaluationSummary> {

    /**
     * 结束评标
     * @author tian
     * @date 2022-4-20 17:45
     * @param evaluationReviewItemParam
     * @return org.fzzn.core.model.msg.Message<java.lang.String>
     */
    Message<String> endReview(EvaluationReviewItemParam evaluationReviewItemParam);


    /**
     *
     * @Description:根据标段查询汇总表格的信息
     * @Author: zhongdl
     * @Date:2022/4/22 9:59
     * @param sectionId:
     * @return: {@link EvaluationSummary }
     **/
    EvaluationSummary getEvaluationSummaryBySectionId(Long sectionId);


    /**
     * 初始化评审总表
     *
     * @param sectionId
     * @author tian
     * @date 2022-4-24 17:13
     */
    void initEvaluationSummary(Long sectionId);
}
